package com.escape.auth.domain.convert;

import com.escape.auth.domain.entity.AuthRoleBO;
import com.escape.auth.domain.entity.AuthUserBO;
import com.escape.auth.infra.basic.entity.AuthRole;
import com.escape.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: escape_zebra
 * @CreateTime: 2025-01-09  11:37
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface AuthRoleConverter {

    AuthRoleConverter INSTANCE = Mappers.getMapper(AuthRoleConverter.class);

    AuthRole convertBoToEntity(AuthRoleBO authRoleBO);

}
